package com.meituan.verintreport.db.dao;

import com.meituan.verintreport.db.dto.SessionsEvaluatedBookedDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SessionsEvaluatedBookedMapper {
    int deleteByPrimaryKey(Long sidKey);

    int insert(SessionsEvaluatedBookedDto record);

    int insertSelective(SessionsEvaluatedBookedDto record);

    SessionsEvaluatedBookedDto selectByPrimaryKey(Long sidKey);

    int updateByPrimaryKeySelective(SessionsEvaluatedBookedDto record);

    int updateByPrimaryKey(SessionsEvaluatedBookedDto record);

    Long getMaxId();

    Long getMaxIdBeforeDateTime(String endTime);

    Integer removeByTime(@Param("startTime") String startTime, @Param("endTime") String endTime);
}